package cn.webNews.bean;

import java.sql.Timestamp;

public class Category {
	private Long id;
	private String name;
	private Timestamp createDate;
	
	
	
	
	
	
	
	public Category() {
		super();
	}
	public Category(Long id, String name, Timestamp createDate) {
		super();
		this.id = id;
		this.name = name;
		this.createDate = createDate;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Timestamp getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}
	@Override
	public String toString() {
		return "Category [id=" + id + ", name=" + name + ", createDate="
				+ createDate + "]";
	}
	
	
}
